{% extends "base.html" %}
{% block title %}Editar Rol{% endblock %}
{% block head %}Editar Rol{% endblock %}
{% block content %}
{% if show_rol_list %}
{% include "rol_list.html" %}
<form action="" method="get">
{{ searchform.buscar }}
<input type="submit" value="Buscar">
</form>
<br>
<input type="button" name="load" value="Volver al Men&uacute;" onClick='location.href="/"'>
{% else %}
<style type="text/css">
label { vertical-align: top; }
</style>

<form action="" method="post" >
    
	{{rol_edit_form.as_p}}

	<input name="idRol" type="hidden" value={{idRol}}>
    <input type="submit" value="Guardar" onload='chksel()'>
	<input type="button" name="load" value="Cancelar" onClick='location.href="/"'>
</form>
{% endif %}
{% endblock %}
